home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / CAD / T123V13.ARJ / TAB123.DOC < prev    next >
Text File  |  1992-05-07  |  23KB  |  519 lines

  1.  
  2.  
  3.  
  4.                      Tab123, copyright 1991,92 Mountain Software
  5.  
  6.  
  7.  
  8.                                       -=Tab123=-
  9.  
  10.  
  11.  
  12.                         AutoCAD Spreadsheet Interface Utility
  13.                                      Version 1.3
  14.                                      May 2, 1992
  15.  
  16.  
  17.  
  18.                                    _______
  19.                               ____|__     |               (R)
  20.                            --|       |    |-------------------
  21.                              |   ____|__  |  Association of
  22.                              |  |       |_|  Shareware
  23.                              |__|   o   |    Professionals
  24.                            -----|   |   |---------------------
  25.                                 |___|___|    MEMBER
  26.  
  27.  
  28.  
  29.  
  30.                             Autodesk Registered Developer
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                                  Jerry Workman, P.E. 
  38.                                  1579 Nottingham Road
  39.                                  Charleston, WV 25314
  40.                                     CIS 70717,3564
  41.                                 Orders: 1-800-2424-PsL
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.                                   Table of Contents
  49.  
  50.  
  51.  
  52.           I.   U s i n g   T a b 1 2 3  . . . . . . . . . . . . . . . .   3
  53.                Purpose  . . . . . . . . . . . . . . . . . . . . . . . .   3
  54.                Installation . . . . . . . . . . . . . . . . . . . . . .   3
  55.                Running Tab123 . . . . . . . . . . . . . . . . . . . . .   4
  56.                Read_WKS . . . . . . . . . . . . . . . . . . . . . . . .   5
  57.                Limits . . . . . . . . . . . . . . . . . . . . . . . . .   6
  58.                Suggestions  . . . . . . . . . . . . . . . . . . . . . .   6
  59.  
  60.           II.  A d d e n d u m  . . . . . . . . . . . . . . . . . . . .   6
  61.                Error Messages . . . . . . . . . . . . . . . . . . . . .   6
  62.                Liability  . . . . . . . . . . . . . . . . . . . . . . .   7
  63.                Author . . . . . . . . . . . . . . . . . . . . . . . . .   7
  64.  
  65.           III. L i c e n s e  . . . . . . . . . . . . . . . . . . . . .   8
  66.                Registration Information . . . . . . . . . . . . . . . .   8
  67.                Definition of Shareware  . . . . . . . . . . . . . . . .   9
  68.                Disclaimer - Agreement . . . . . . . . . . . . . . . . .   9
  69.                Trademark  . . . . . . . . . . . . . . . . . . . . . .    10
  70.  
  71.           IV.  I n d e x  . . . . . . . . . . . . . . . . . . . . . .    11
  72.  
  73.  
  74.  
  75.           I.   U s i n g   T a b 1 2 3
  76.           ============================
  77.  
  78.           Purpose
  79.           -------
  80.  
  81.           Tab123 is a utility that provides the ability to import Lotus 123
  82.           and Symphony spreadsheet files into an AutoCAD drawing as a table
  83.           of  text entities,  and if desired,  a cell  grid to  enclose the
  84.           table. Tab123  runs from  within the  AutoCAD drawing  editor and
  85.           will read  .WKS, WK1, and  WRK files directly. The  program reads
  86.           not only the data from  the spreadsheet file, but also calculated
  87.           formula  values.  Formatting  information;  Column  widths,  cell
  88.           formats, and cell alignment are also read and used  to create the
  89.           table.   Tab123  is   executed   through  an   AutoLisp   program
  90.           (TAB123.LSP) and  an external executable  program (READ_WKS.EXE).
  91.           Tab123 works on any IBM PC compatible computer capable of running
  92.           AutoCAD.
  93.  
  94.  
  95.           Installation
  96.           ------------
  97.  
  98.           Copy the Tab123 files from the  distribution diskette (or extract
  99.           them from the  archive file) to your AutoCAD  subdirectory, or to
  100.           sub-directories where DOS and AutoCAD can find them. READ_WKS.EXE
  101.           can be in any directory that is  on the DOS PATH. TAB123.LSP must
  102.           be in a directory that is in the AutoCAD library path. If you are
  103.           not sure of  your DOS or AutoCAD  paths, place both files  in the
  104.           same  directory as  ACAD.EXE (usually  C:\ACAD).  To insure  that
  105.           AutoCAD  can find  files  in  your  support  directory,  add  the
  106.           following to your AUTOEXEC.BAT file:
  107.  
  108.           SET  ACAD=C:\ACAD\SUPPORT (or where  ever your support  files are
  109.           located)
  110.  
  111.  
  112.                NOTE:     The AutoCAD command  SHELL must work  so that
  113.                          READ_WKS.EXE can execute.
  114.  
  115.  
  116.           Running Tab123
  117.           -------------------
  118.  
  119.           First load the AutoLISP program:
  120.  
  121.           Command: (LOAD"TAB123")
  122.  
  123.           Then execute...
  124.  
  125.           Command: TAB123
  126.  
  127.           Follow the prompts:
  128.  
  129.           Load/Draw/All/Parms/Exit/<All>:
  130.  
  131.           Load:     Loads  a  spreadsheet  file,  an  external  DOS program
  132.                     (READ_WKS.EXE) is  executed to  convert the  data in  a
  133.                     range to a format that  AutoLISP can read. A file named
  134.                     ACAD.123 is created in the current directory containing
  135.                     the extracted data.
  136.  
  137.           Draw:     Draws the previously  loaded table in the  drawing. You
  138.                     are prompted  for the table location, and text size (if
  139.                     the current style  has a text size of 0.0),  and if you
  140.                     wish a grid  drawn. The file  ACAD.123, created in  the
  141.                     previous step, is read and the table drawn.
  142.  
  143.           All       Both Loads and Draws the table
  144.  
  145.           Parms     Display / change Tab123 variables
  146.  
  147.           RowScaleFactor/CharOffsetFactor/Exit/<Exit>:
  148.  
  149.                RowScaleFactor: Centers /  spacing between rows. A  value of
  150.                2.0  (the default)  will space  rows  at 2.0  x text  height
  151.                (determined by the  AutoCAD text style active or  the height
  152.                entered by the user).
  153.  
  154.                CharOffsetFactor:  Offset of the first and last character(s)
  155.                from  the  left and  right  margins.  A  value of  1.0  (the
  156.                default) will make cell  margins 1.0 X text character  width
  157.                (determined by the AutoCAD text style active).
  158.  
  159.           Exit: Exits Tab123 with no action.
  160.  
  161.           Read_WKS will then execute prompting...
  162.  
  163.           Enter worksheet filename:
  164.  
  165.                Enter     any      valid     DOS      filename     including
  166.                Drive:\path\filename.ext. If no  file extension is specified
  167.                then ".WK1" is appended.
  168.  
  169.  
  170.           Enter worksheet range, range name, "*" for all cells
  171.           or ? to list defined ranges[default A1..D25]:
  172.  
  173.                Enter  either  a  worksheet  range  in  the  usual  form (eg
  174.                BA34..CL63) or  any range name defined in the worksheet. You
  175.                may enter a question mark "?" to list all range names in the
  176.                selected  worksheet file. Enter  an asterisk "*"  to specify
  177.                the entire worksheet.
  178.  
  179.           Table Insertion point: 
  180.  
  181.                Pick a point where for the upper left corner of the table.
  182.  
  183.           Text Height <0.2>:
  184.  
  185.                Enter the  text height  for all entities  in the  table. The
  186.                default  height for  the current  test style  is used  if no
  187.                value is entered.
  188.  
  189.           Create table grid?<Yes>: 
  190.  
  191.                Enter "Y" to draw a grid of LINE entities around all cells.
  192.  
  193.  
  194.           Read_WKS
  195.           --------
  196.  
  197.           Read_WKS  is  the DOS  executable  program that  does  the actual
  198.           extraction from the  worksheet file. Read_WKS is  a very powerful
  199.           program which  can be  used external to  AutoCAD to  extract data
  200.           from  a .WK? files  in comma delimited  format, for  use by other
  201.           programs,  or for  reporting.  Read_WKS  operated  from  the  DOS
  202.           command  line using  switches  and  parameters  to  control  it's
  203.           operations. The switches / commands / functions are as follows:
  204.  
  205.           Usage: READ_WKS <switches> <filename>.WK1 <outfilename>
  206.           The .WK1 extension is added to <filename> if omitted.
  207.           <outfilename> can also be CON, PRN, STDOUT or any DOS device.
  208.           Switches must start with / or - and are not case sensitive.
  209.  
  210.           /D        Debug diagnostic display
  211.           /R___     Lotus Range [default A1..D25] (eg /RB11..F35)
  212.                     or "*" for the entire worksheet (/R*)
  213.           /A        AutoCAD  LISP   output  (default  output   filename  is
  214.                     ACAD.123)
  215.           /E        AppEnd output to the output file
  216.           /I        Ignore repeating label cells (eg \=)
  217.           /U        Unformatted (maximum precision) output
  218.           /X        eXpanded formatted report  output, no delimiter,  fully
  219.                     formatted
  220.           /S_       Separator / Delimiter character(s) (eg /S;)
  221.           /Q        Quiet, no display except errors
  222.           /P        Password program - register Read_WKS
  223.           /H        Help - This message.
  224.  
  225.           Example: READ_WKS /RC19..F35 MYFILE MYFILE.PRN
  226.                Or: READ_WKS /A /R* MYFILE
  227.  
  228.  
  229.           Limits
  230.           ------
  231.  
  232.           Tab123 can not read version 2.3, 3.X Lotus, 123G or SQZ files. If
  233.           you use a version of Lotus  123 after version 2.2 or a  different
  234.           spreadsheet program (eg Quattro or  Excel) then save your file as
  235.           a .WK1 or .WKS file,  most spreadsheets (and many other programs)
  236.           provide can save in these file formats.
  237.  
  238.           Tab123 / Read_WKS  can not recalculate  your spreadsheet. If  you
  239.           use manual  recalculation then  be sure  to recalculate  prior to
  240.           saving so that formula values will be correctly displayed.
  241.  
  242.           If you wish  to extract tables from very  large spreadsheets then
  243.           you must provide the DOS program READ_WKS.EXE with as much memory
  244.           as possible. With  AutoCAD 386 the  programs BigShell and  SHROOM
  245.           will provide  a large memory  SHELL. SHROOM.COM is  included with
  246.           AutoCAD  release  11 and  a  shareware  version  is available  on
  247.           Compuserve and many Computer Bulletin boards.
  248.  
  249.  
  250.           Suggestions
  251.           -----------
  252.  
  253.           *    While developing your table  in Lotus 123 (or  your favorite
  254.                spreadsheet)  make sure that text does  not overlap into the
  255.                next cell. Set  column widths to a value  that is just wider
  256.                than  the values and text.  Use "Comma" or "Dollars" formats
  257.                to make large values easier to read.
  258.  
  259.           *    You  can use Tab123  to transfer attribute  information from
  260.                Generic CADD  to AutoCAD. In CADD 5.0, export attribute data
  261.                as  a WK1-format file; then use Tab123 to read the file into
  262.                AutoCAD as a text table.
  263.  
  264.  
  265.           II.  A d d e n d u m
  266.           ====================
  267.  
  268.  
  269.           Error Messages
  270.           --------------
  271.  
  272.           Unidentified file format
  273.  
  274.                The file signature does not match a known file type.
  275.  
  276.           Cannot open file XXXX
  277.  
  278.                Reason: Misspelled filename or possible disk error.
  279.  
  280.           Unknown switch => X <=
  281.  
  282.                An  unknown   DOS  command   line  switch   was  passed   to
  283.           READ_WKS.EXE.
  284.  
  285.  
  286.           Out of memory
  287.  
  288.                READ_WKS requires about 100K to run. Revise your SHELL entry
  289.                in  your ACAD.PGP  file  or  use  SHROOM to  increase  SHELL
  290.                memory.
  291.  
  292.           Unidentified Cell. OpCode = XXh Length = XX
  293.  
  294.                Usually caused by  processing a spreadsheet file  format not
  295.                known by READ_WKS.EXE.
  296.  
  297.           Unexpected end of input file
  298.  
  299.                The  end of  the file was  reached before  the end   of file
  300.                record was read.
  301.  
  302.           Error reading input file
  303.           Error writing to output file
  304.  
  305.                A disk error during a read or write operation occurred.
  306.  
  307.  
  308.           Liability
  309.           ---------
  310.  
  311.           Careful  testing has  been  made to  ensure  that these  programs
  312.           perform correctly.  No  liabilities are  assumed  in the  use  or
  313.           misuse of  this program resulting in  data loss or  damage. It is
  314.           the  users responsibility  to be  sure  that the  results are  as
  315.           expected.
  316.  
  317.  
  318.           Author
  319.           ------
  320.  
  321.           If you have any suggestions or comments, please contact me.
  322.  
  323.           Jerry Workman, PE
  324.           1579 Nottingham Rd.
  325.           Charleston, WV 25314 
  326.           CIS 70717,3564
  327.           304-744-7748 (after 7:30PM ET)
  328.  
  329.           Copyright 1991,92 by Mountain Software All rights reserved 
  330.  
  331.  
  332.           III. L i c e n s e
  333.           ==================
  334.  
  335.  
  336.           Shareware
  337.           ---------
  338.  
  339.           This version of Tab123 is NOT public domain or free software, but
  340.           is being distributed as "shareware". You may try it out to see if
  341.           it  is useful for you. If you wish  to continue to use Tab123 you
  342.           must register. Registered  users are provided with  a password to
  343.           remove the opening delay and with support for one year.
  344.  
  345.           The program in the form of the original archived file only may be
  346.           freely distributed, but not sold  (except under license, or for a
  347.           nominal copying or disk fee).
  348.  
  349.           Non-registered  users of this  software are granted  a limited 30
  350.           day license  to make  an evaluation  copy for  trial use  for the
  351.           purpose  of  determining  whether Tab123  is  suitable  for their
  352.           needs. At  the end of this trial  period, you may either register
  353.           your copy, or discontinue using Tab123.
  354.  
  355.           All users are  granted a limited license to copy  Tab123 only for
  356.           the trial  use of  others and subject  to the  above limitations.
  357.           This license  does NOT include  distribution or  copying of  this
  358.           software for use:
  359.  
  360.           1.   In connection with any other product or service.
  361.           2.   For general use within a company or institution.
  362.           3.   For distribution in modified form; i.e., the file containing
  363.                this  license information MUST  be included, along  with the
  364.                full Tab123 documentation.
  365.  
  366.           Operators  of  electronic  bulletin  board  systems (Sysops)  are
  367.           encouraged to post  TAB123xx.ZIP for downloading by  their users,
  368.           as long as these conditions are met.
  369.  
  370.  
  371.           Registration Information
  372.           ------------------------
  373.  
  374.           A  Tab123 registration  licenses  you  to use  the  product on  a
  375.           regular   basis.  Individual  license  cost  for  Tab123  is  $30
  376.           including a  diskette with  the latest version  of Tab123  for an
  377.           additional and the printed manual. West Virginia residents should
  378.           include 6% sales tax. The file ORDER.DOC is an order form.
  379.  
  380.           Educational  institutions, full-time students  and BBS sysops can
  381.           apply a 50% discount. PLEASE include your educational institution
  382.           letterhead (with your title), or  a photocopy of your most recent
  383.           registration slip, or the name and number of your BBS.
  384.  
  385.  
  386.           Definition of Shareware
  387.           -----------------------
  388.  
  389.           Shareware  distribution  gives  users a  chance  to  try software
  390.           before buying  it. If  you try a  Shareware program  and continue
  391.           using  it,  you  are expected  to  register.  Individual programs
  392.           differ  on  details  -- some  request  registration  while others
  393.           require  it,   some  specify   a  maximum   trial  period.   With
  394.           registration,  you get anything from the simple right to continue
  395.           using the software to an updated program with printed manual.
  396.  
  397.           Copyright laws apply  to both Shareware and  commercial software,
  398.           and the copyright holder retains  all rights, with a few specific
  399.           exceptions  as stated below.  Shareware authors  are accomplished
  400.           programmers, just like  commercial authors, and the  programs are
  401.           of comparable quality.  (In both cases,  there are good  programs
  402.           and  bad  ones!)  The  main   difference  is  in  the  method  of
  403.           distribution.  The author specifically  grants the right  to copy
  404.           and distribute  the software, either  to all  and sundry or  to a
  405.           specific  group.   For  example,  some  authors  require  written
  406.           permission  before  a  commercial  disk  vendor  may  copy  their
  407.           Shareware.
  408.  
  409.           Shareware is a  distribution method, not a type  of software. You
  410.           should  find software  that  suits  your  needs  and  pocketbook,
  411.           whether  it's commercial or Shareware. The Shareware system makes
  412.           fitting your  needs easier, because  you can try before  you buy.
  413.           And because the  overhead is low, prices are  low also. Shareware
  414.           has the  ultimate money-back  guarantee -- if  you don't  use the
  415.           product, you don't pay for it.
  416.  
  417.  
  418.           Disclaimer - Agreement
  419.           ----------------------
  420.  
  421.           Users  of Tab123 must accept this disclaimer of warranty: "Tab123
  422.           is  supplied  as  is.    The  author  disclaims  all  warranties,
  423.           expressed  or   implied,  including,   without  limitation,   the
  424.           warranties of merchantability and of fitness for any purpose. The
  425.           author assumes no liability for damages, direct or consequential,
  426.           which may result from the use of Tab123."
  427.  
  428.           Tab123 is  a "shareware program" and is  provided at no charge to
  429.           the user  for  evaluation.   Feel  free  to share  it  with  your
  430.           friends,  but please do  not give it  away altered or  as part of
  431.           another  system.  The essence  of "user-supported" software is to
  432.           provide  personal  computer users  with quality  software without
  433.           high prices,  and  yet to  provide incentive  for programmers  to
  434.           continue  to develop  new products.    If you  find this  program
  435.           useful  and find  that you are  using Tab123 and  continue to use
  436.           Tab123  after  a  reasonable  trial   period,  you  must  make  a
  437.           registration  payment  of  $30 to  Mountain  Software.   The  $30
  438.           registration  fee  will license  one  copy  for  use on  any  one
  439.           computer at any one time.  You must treat this software just like
  440.           a book.   An example  is that  this software may  be used  by any
  441.           number  of people  and  may  be freely  moved  from one  computer
  442.           location to  another, so long  as there  is no possibility  of it
  443.           being used at one location while it's being used at another. Just
  444.  
  445.  
  446.           as a book  cannot be read  by two different  persons at the  same
  447.           time.
  448.  
  449.           Commercial users of Tab123 must register and pay for their copies
  450.           of  Tab123  within  30 days  of  first use  or  their  license is
  451.           withdrawn.  Site-License  arrangements may be made  by contacting
  452.           Mountain Software.
  453.  
  454.           Anyone  distributing Tab123  for any  kind  of remuneration  must
  455.           first   contact  Mountain  Software  at  the  address  below  for
  456.           authorization. This  authorization will be  automatically granted
  457.           to  distributors  recognized  by  the (ASP)  as  adhering  to its
  458.           guidelines for  shareware distributors, and such distributors may
  459.           begin offering Tab123 immediately (However Mountain Software must
  460.           still be advised  so that the distributor can  be kept up-to-date
  461.           with the latest version of Tab123.).
  462.  
  463.           You are encouraged to pass a copy of Tab123 along to your friends
  464.           for evaluation.  Please encourage  them to register their copy if
  465.           they find that they can use it. 
  466.  
  467.           Jerry   Workman  a  member   of  the  Association   of  Shareware
  468.           Professionals (ASP).  ASP wants to  make sure that  the shareware
  469.           principle  works  for  you.  If  you  are  unable  to  resolve  a
  470.           shareware-related  problem with an  ASP member by  contacting the
  471.           member  directly, ASP may be able  to help. The ASP Ombudsman can
  472.           help  you resolve a  dispute or problem  with an ASP  member, but
  473.           does  not provide technical support for members' products. Please
  474.           write to the ASP Ombudsman at 545 Grover Road, Muskegon MI 49442,
  475.           or send a message via Compuserve mail to ASP Ombudsman 70007,3536
  476.  
  477.  
  478.           Trademark
  479.           ---------
  480.  
  481.           Mountain  Software,  Read_WKS,  and   Tab123  are  trademarks  of
  482.           Mountain  Software. MS-DOS is a registered trademark of Microsoft
  483.           Corporation. PC-DOS is a registered trademark of IBM Corporation.
  484.           AutoCAD is a registered trademark  of AutoDesk. 123 and  Symphony
  485.           are registered trademarks of Lotus Development Corporation
  486.  
  487.  
  488.           IV.  I n d e x
  489.  
  490.  
  491.                123 . . . . . . . . . . . . . . . . . . . . . . 3-6, 10
  492.                ACAD  . . . . . . . . . . . . . . . . . . . . .  3-5, 7
  493.                ACAD.EXE  . . . . . . . . . . . . . . . . . . . . . . 3
  494.                ASP . . . . . . . . . . . . . . . . . . . . . . . .  10
  495.                AutoCAD . . . . . . . . . . . . . . . . . .  1, 3-6, 10
  496.                bulletin boards . . . . . . . . . . . . . . . . . . . 6
  497.                Command . . . . . . . . . . . . . . . . . . . . . . 3-6
  498.                Compuserve  . . . . . . . . . . . . . . . . . . . 6, 10
  499.                directory . . . . . . . . . . . . . . . . . . . .  3, 4
  500.                disk  . . . . . . . . . . . . . . . . . . . . . . . 6-9
  501.                DOS . . . . . . . . . . . . . . . . . . . . . . 3-6, 10
  502.                drawing editor  . . . . . . . . . . . . . . . . . . . 3
  503.                error . . . . . . . . . . . . . . . . . . . . . .  6, 7
  504.                file  . . . . . . . . . . . . . . . . . . . . . . . 3-8
  505.                filename  . . . . . . . . . . . . . . . . . . . . . 4-6
  506.                grid  . . . . . . . . . . . . . . . . . . . . . . . 3-5
  507.                license . . . . . . . . . . . . . . . . . . . . .  8-10
  508.                LISP  . . . . . . . . . . . . . . . . . . . . . . . . 5
  509.                Lotus . . . . . . . . . . . . . . . . . . . 3, 5, 6, 10
  510.                range . . . . . . . . . . . . . . . . . . . . . .  4, 5
  511.                range name  . . . . . . . . . . . . . . . . . . . . . 5
  512.                shareware . . . . . . . . . . . . . . . . .  1, 6, 8-10
  513.                SHELL . . . . . . . . . . . . . . . . . . . . . 3, 6, 7
  514.                SHROOM  . . . . . . . . . . . . . . . . . . . . .  6, 7
  515.                subdirectory  . . . . . . . . . . . . . . . . . . . . 3
  516.                table . . . . . . . . . . . . . . . . . . . . . . . 2-6
  517.                worksheet . . . . . . . . . . . . . . . . . . . .  4, 5
  518.                ZIP . . . . . . . . . . . . . . . . . . . . . . . . . 8
  519.